<template>
	<!-- <div id="app">
		<input type="text" ref="mytext" />
		<button @click="add">添加</button>
		<div>{{content}}</div>
	</div> -->
	<!-- <div id="app">
		<component :is="show"></component>
		<Tabbar></Tabbar>
	</div> -->
	<div>
		<router-view></router-view>
		<Tabbar v-show="true"></Tabbar>
	</div>
</template>

<script>
	/* import HelloWorld from './components/HelloWorld.vue'
	import home from './views/Home.vue'
	import news from './views/News.vue'
	import life from './views/Life.vue' */
	import Tabbar from './components/Tabbar.vue'

	export default {
		data() {
			return{
				// content:''
				// show:'home'
			}
		},
		components:{
			/* home,
			news,
			life, */
			Tabbar
		},
		methods:{
			/* add(){
				this.content=this.$refs.mytext.value
			},
			showComponent(v){
				this.show=v;
			},
			change(v){
				this.show=v;
			} */
		}
	}
</script>
